package com.ruoyi.finances.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 凭证对象 tb_credentials
 * 
 * @author 阿飞
 * @date 2024-11-13
 */
public class TbCredentials extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 摘要id */
    @Excel(name = "摘要id")
    private Long abstractId;

    /** 摘要 */
    @Excel(name = "摘要")
    private String abstractContent;

    /** 会计科目id */
    @Excel(name = "会计科目id")
    private Long accountsId;

    /** 会计科目 */
    @Excel(name = "会计科目")
    private String accountsContent;

    /** 附件id */
    @Excel(name = "附件id")
    private Long attachmentsId;

    /** 附件 */
    @Excel(name = "附件")
    private String attachmentsContent;

    /** 凭证字id */
    @Excel(name = "凭证字id")
    private Long certificateWordId;

    /** 凭证字 */
    @Excel(name = "凭证字")
    private String certificateWord;

    /** 借方金额 */
    @Excel(name = "借方金额")
    private Long debitAmount;

    /** 贷方金额 */
    @Excel(name = "贷方金额")
    private Long creditAmount;

    /** 附单据张数. */
    @Excel(name = "附单据张数.")
    private Long attachedDocumentsNum;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAbstractId(Long abstractId) 
    {
        this.abstractId = abstractId;
    }

    public Long getAbstractId() 
    {
        return abstractId;
    }
    public void setAbstractContent(String abstractContent) 
    {
        this.abstractContent = abstractContent;
    }

    public String getAbstractContent() 
    {
        return abstractContent;
    }
    public void setAccountsId(Long accountsId) 
    {
        this.accountsId = accountsId;
    }

    public Long getAccountsId() 
    {
        return accountsId;
    }
    public void setAccountsContent(String accountsContent) 
    {
        this.accountsContent = accountsContent;
    }

    public String getAccountsContent() 
    {
        return accountsContent;
    }
    public void setAttachmentsId(Long attachmentsId) 
    {
        this.attachmentsId = attachmentsId;
    }

    public Long getAttachmentsId() 
    {
        return attachmentsId;
    }
    public void setAttachmentsContent(String attachmentsContent) 
    {
        this.attachmentsContent = attachmentsContent;
    }

    public String getAttachmentsContent() 
    {
        return attachmentsContent;
    }
    public void setCertificateWordId(Long certificateWordId) 
    {
        this.certificateWordId = certificateWordId;
    }

    public Long getCertificateWordId() 
    {
        return certificateWordId;
    }
    public void setCertificateWord(String certificateWord) 
    {
        this.certificateWord = certificateWord;
    }

    public String getCertificateWord() 
    {
        return certificateWord;
    }
    public void setDebitAmount(Long debitAmount) 
    {
        this.debitAmount = debitAmount;
    }

    public Long getDebitAmount() 
    {
        return debitAmount;
    }
    public void setCreditAmount(Long creditAmount) 
    {
        this.creditAmount = creditAmount;
    }

    public Long getCreditAmount() 
    {
        return creditAmount;
    }
    public void setAttachedDocumentsNum(Long attachedDocumentsNum) 
    {
        this.attachedDocumentsNum = attachedDocumentsNum;
    }

    public Long getAttachedDocumentsNum() 
    {
        return attachedDocumentsNum;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("abstractId", getAbstractId())
            .append("abstractContent", getAbstractContent())
            .append("accountsId", getAccountsId())
            .append("accountsContent", getAccountsContent())
            .append("attachmentsId", getAttachmentsId())
            .append("attachmentsContent", getAttachmentsContent())
            .append("certificateWordId", getCertificateWordId())
            .append("certificateWord", getCertificateWord())
            .append("debitAmount", getDebitAmount())
            .append("creditAmount", getCreditAmount())
            .append("attachedDocumentsNum", getAttachedDocumentsNum())
            .append("remark", getRemark())
            .append("date", getDate())
            .append("status", getStatus())
            .toString();
    }
}
